/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo916;

import javax.swing.JOptionPane;


/**
 *
 * @author Administrator
 */
public class MethodSum1 {
 

    public static void main(String args[]){
        int s1=MethodSum.sum(100,200);
        System.out.println(MethodSum.sum(200,300));
        //System.out.println(sum1(200,300));//error
        //int s2=sum1(400,500);//error
        MethodSum methodSum=new MethodSum(); 
        System.out.println(methodSum.sum1(400,500));
        System.out.println(Math.pow(2,5));
        System.out.println(Math.pow(4,10));
        String s=JOptionPane.showInputDialog(null, "请输入一个数");
        int x=Integer.parseInt(s);
        double x1=Double.parseDouble(s);
        
        int y=x+60;
        JOptionPane.showMessageDialog(null, y);
        
        
        
        
       
        
    }
    
    
}
